Radeon Kernel Oops & Lockup when switching on DisplayPort attached monitor
https://bugs.freedesktop.org/show_bug.cgi?id=90681
Bug ID: 90681
Summary: Radeon Kernel Oops & Lockup when switching on
DisplayPort attached monitor
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/Radeon
Assignee: [email protected]
Reporter: [email protected]
Created attachment 116079
--> https://bugs.freedesktop.org/attachment.cgi?id=116079&action=edit
journalctl output for crash
Switching my DisplayPort attached monitor on (or off and then on again) while booted to multiuser target (no Xorg or Wayland) causes a kernel Oops, followed by soft-lockups which render the system unusable.
Doing the same while at the full Graphical target causes gnome-shell to crash, but it is possible to recover the system by logging in again.
The kernel error and IP are:
Quoted 2 lines
May 24 23:25:28 fedora-workstation.home kernel: BUG: unable to handle kernel NULL pointer dereference at 00000000000003b0 May 24 23:25:28 fedora-workstation.home kernel: IP: [<ffffffffa0152055>] radeon_connector_edid+0x5/0x70 [radeon]
Full journal from a reproduction of the bug will be attached, as will lspci -nn.
I have isolated this using git bisect to the following commit (the patch for which is attached to this bug).
This is a commit currently part of the linux-stable tree and lies between 4.0.2 and 4.0.3
Quoted 19 lines
016a255b7835ee7e49a3eba3c14ba0bc0221a4f8is the first bad commit commit016a255b7835ee7e49a3eba3c14ba0bc0221a4f8Author: Alex Deucher <[email protected]> Date: Tue Apr 7 09:52:42 2015 -0400drm/radeon: only mark audio as connected if the monitor supports it (v3)
commit
0f55db36d49d45b80eff0c0a2a498766016f458bupstream.Otherwise the driver may try and send audio which may confuse the monitor.
v2: set pin to NULL if no audio
v3: avoid crash with analog encodersSigned-off-by Alex Deucher <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>>:040000 040000
de0366a6790f5c91d175bcb89cb34956bbe72b26>bbdb5734961f824558152c7c34a840c78bc3a9a9 M drivers
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #1 from Richard Bradfield <[email protected]> --- Created attachment 116080
--> https://bugs.freedesktop.org/attachment.cgi?id=116080&action=edit
lspci -nn
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #2 from Richard Bradfield <[email protected]> --- Created attachment 116081
--> https://bugs.freedesktop.org/attachment.cgi?id=116081&action=edit
Oops stack trace only
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #3 from Richard Bradfield <[email protected]> --- Created attachment 116082
--> https://bugs.freedesktop.org/attachment.cgi?id=116082&action=edit
Bisection log
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #4 from Richard Bradfield <[email protected]> --- Created attachment 116083
--> https://bugs.freedesktop.org/attachment.cgi?id=116083&action=edit
Culprit commit according to bisect
Sorry for the bug-spam, I wasn't sure how to add many attachments at once.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #5 from Alex Deucher <[email protected]> --- Created attachment 116085
--> https://bugs.freedesktop.org/attachment.cgi?id=116085&action=edit
possible fix
Does the attached patch fix the issue?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #6 from Alex Deucher <[email protected]> --- Actually reverting the commit is probably the proper fix.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #7 from Richard Bradfield <[email protected]> --- Patch fixes the issue, I can try a revert as well.
With the patch applied, there's still a problem with gnome-shell crashing, but there's no Oops in the VT any more.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #8 from Richard Bradfield <[email protected]> --- (In reply to Alex Deucher from comment #6)
Quoted 1 line
Actually reverting the commit is probably the proper fix.
Reverting the commit doesn't fix the issue, there is still a kernel Oops upon hotplugging the monitor. I'll dig into the trace.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #9 from Alex Deucher <[email protected]> --- How about the revert and the patch?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #10 from Richard Bradfield <[email protected]> --- (In reply to Alex Deucher from comment #9)
Quoted 1 line
How about the revert and the patch?
Revert and patch is working for me.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #11 from Andreas Tunek <[email protected]> --- Is this fixed? I am asking because 91253 is probably due to the same committ.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #12 from Alex Deucher <[email protected]> --- problematic commit reverted:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2d1c18bba15daf89d75ce475ecd2068f483aa12f
Fix committed:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fbfd3bc7dfd7efcad2d2e52bf634f84c80a77a35
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #13 from Andreas Tunek <[email protected]> --- Will this be in 4.2 rc3?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=90681
--- Comment #14 from Alex Deucher <[email protected]> --- (In reply to Andreas Tunek from comment #13)
Quoted 1 line
Will this be in 4.2 rc3?
Yes, they are in 4.1 as well.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel